export const treeData = [
    {
        title: '首页',
        key: '/home/'
    },
    {
        title: '用户管理',
        key: '/home/user',
    },
    {
        title: '角色管理',
        key: '/home/role',
    },
    {
        title: '店铺管理',
        key: '/home/shop',
    },
    {
        title: '商品管理',
        key: '/home/product',
        children:[
            {
                title:"商品列表",
                key:"",
                children:[
                    {
                        title:"商品查询",
                        key:"/home/list"
                    },
                    {
                        title:"商品添加",
                        key:"/home/addlist"
                    },
                    {
                        title:"商品修改",
                        key:"/home/updatelist"
                    },
                ]
            },
            {
                title:"商品分类",
                key:"/home/category"
            }
        ]
    },
    {
        title: '财务管理',
        key: '/home/chart',
        children:[
            {
                title:"工资数据",
                key:"/home/salary"
            },
            {
                title:"销售数据",
                key:"/home/sales"
            }
        ]
    },
]